package com.superhelper.common.domain;

import java.io.Serializable;
import java.util.Date;

import org.apache.ibatis.type.Alias;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

@JsonInclude(Include.NON_NULL)
public class LoginLog implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long id;
    private Long userId;
    private String userAgent;
    private String device;
    private Date loginTime;
    private String ip;
    private String version;
    private String model;
    private String deviceAgent;
    private String imid;
    private String plfFrom;
    private String packageName;

    public String getModel() {
	return model;
    }

    public void setModel(String model) {
	this.model = model;
    }

    public String getVersion() {
	return version;
    }

    public void setVersion(String version) {
	this.version = version;
    }

    public Long getId() {
	return id;
    }

    public void setId(Long id) {
	this.id = id;
    }

    public Long getUserId() {
	return userId;
    }

    public void setUserId(Long userId) {
	this.userId = userId;
    }

    public String getUserAgent() {
	return userAgent;
    }

    public void setUserAgent(String userAgent) {
	this.userAgent = userAgent;
    }

    public String getDevice() {
	return device;
    }

    public void setDevice(String device) {
	this.device = device;
    }

    public Date getLoginTime() {
	return loginTime;
    }

    public void setLoginTime(Date loginTime) {
	this.loginTime = loginTime;
    }

    public String getIp() {
	return ip;
    }

    public void setIp(String ip) {
	this.ip = ip;
    }

    public String getDeviceAgent() {
	return deviceAgent;
    }

    public void setDeviceAgent(String deviceAgent) {
	this.deviceAgent = deviceAgent;
    }

    @Override
    public String toString() {
	return "LoginLog [id=" + id + ", userId=" + userId + ", userAgent=" + userAgent
		+ ", device=" + device + ", loginTime=" + loginTime + ", ip=" + ip + "]";
    }

    public String getImid() {
	return imid;
    }

    public void setImid(String imid) {
	this.imid = imid;
    }

   

    public String getPlfFrom() {
        return plfFrom;
    }

    public void setPlfFrom(String plfFrom) {
        this.plfFrom = plfFrom;
    }

    public String getPackageName() {
	return packageName;
    }

    public void setPackageName(String packageName) {
	this.packageName = packageName;
    }

}
